from django.conf.urls.defaults import patterns, include, url
from views import *

urlpatterns = patterns('',
	url(r'^(?P<slug>.+?)/create', create_post),
	url(r'^(?P<slug>.+?)/(?P<post_slug>.+)', post),
	url(r'^all\.?(?P<format>.+)?', all_posts),
	url(r'^user\.?(?P<format>.+)?', user_posts),
)
